.mediaOverlay {
  --pd-size: 20px;

  height: 100vh;
  width: 100%;
  position: relative;
  padding: var(--pd-size);
  user-select: none;

  .mask {
    position: absolute;
    top: var(--pd-size);
    left: var(--pd-size);
    right: var(--pd-size);
    bottom: var(--pd-size);
    background: linear-gradient(to bottom, transparent 80%, rgba(0, 0, 0, 35%));
  }

  .mediaDesc {
    position: absolute;
    bottom: var(--pd-size);
    right: 0;
    left: 0;
    padding: 20px 50px;
    z-index: 2;
    color: rgba(240, 240, 242, 100%);
    font-family: serif;
    font-weight: 600;
    font-size: 20px;
    text-align: right;

    p {
      margin: 0;
      line-height: 1.5;
    }
  }

  .media {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    height: calc(100vh - 104px);
  }
}
